<template>
	<view>
		<!-- 其他代码保持不变 -->

		<!-- 无人机类型选择 -->
		<view class="u-m-t-30">
			<u-cell-group>
				<u-cell-item icon="file-text-fill" title="品牌无人机" 	label="选择和管理已有的品牌无人机型号" @click="goToDronePage('brand')"></u-cell-item>
				<u-cell-item icon="file-text-fill" title="添加无人机品牌"
				label="添加新的无人机品牌和型号"
				 @click="goToDronePage('uavbrand')"></u-cell-item>
				<u-cell-item icon="file-text-fill" title="自制无人机" label="管理自制无人机的设计和信息" @click="goToDronePage('custom')"></u-cell-item>
			</u-cell-group>
		</view>

		<!-- 其他代码保持不变 -->
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

			goToDronePage(type) {
				if (type === 'brand') {
					//this.$u.route('/pages/wurenji/pinpai');
					 this.$u.route('/pages/Uform/lists?diyname=pinpaiuav');
				} else if (type === 'custom') {
					///pages/publish/uavform?diyname=zizhiuav
					 this.$u.route('/pages/Uform/lists?diyname=zizhiuav');
					//this.$u.route('/pages/wurenji/zizhi');
				}else if (type === 'uavbrand') {
					this.$u.route('/pages/wurenji/addbrand');
				}
				
				
			}


		}
	}
</script>

<style>

</style>